# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class ColumnInfo(object):

    def __init__(self, columnName=None, newColumnName=None, dataType=None, columnType=None, columnLength=None, columnScale=None, isNull=None, defaultValue=None, columnComment=None, isAutoIncrease=None, isPrimaryKey=None):
        """
        :param columnName: (Optional) 列名。
        :param newColumnName: (Optional) 新列名，修改表结构时使用。
        :param dataType: (Optional) 列类型。
        :param columnType: (Optional) 列类型, 返回int(3), varchar(64)等。
        :param columnLength: (Optional) 列长度。
        :param columnScale: (Optional) 浮点数小数点后位数。
        :param isNull: (Optional) 是否为空。
        :param defaultValue: (Optional) 默认值。
        :param columnComment: (Optional) 列注释。
        :param isAutoIncrease: (Optional) 是否自增。
        :param isPrimaryKey: (Optional) 是否为主键。
        """

        self.columnName = columnName
        self.newColumnName = newColumnName
        self.dataType = dataType
        self.columnType = columnType
        self.columnLength = columnLength
        self.columnScale = columnScale
        self.isNull = isNull
        self.defaultValue = defaultValue
        self.columnComment = columnComment
        self.isAutoIncrease = isAutoIncrease
        self.isPrimaryKey = isPrimaryKey
